package com.chinameyer.workorders.dto.catalogue;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author meyer@HongYe
 */
@Data
public class AddCatalogueDTO {
    @NotBlank(message = "目录名称不能为空")
    private String catalogueName;
    @NotNull(message = "目录父级ID不能为空")
    private int pid;
}
